using System;
using System.Collections.Generic;
using System.Text;
using UMC.WorkFlow;

namespace UMC.WorkFlow.Entities
{
    /// <summary>
    /// 申请的作业
    /// </summary>
    public  partial class TaskRequest : UMC.Data.Record
    {

        /// <summary>
        /// 作业实例Id
        /// </summary>
        public ulong? InstanceId { get; set; }
        /// <summary>
        /// 载体
        /// </summary>
        public ulong? TaskId { get; set; }
        /// <summary>
        /// 身份
        /// </summary>
        public string Username { get; set; }
        public string Alias { get; set; }
        /// <summary>
        /// 回复时间
        /// </summary>
        public DateTime? StartTime { get; set; }
        /// <summary>
        /// 回复时间
        /// </summary>
        public DateTime? FinishTime { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        public string Subject { get; set; }
        /// <summary>
        /// 操作命令
        /// </summary>
        public TaskStatus? Status { get; set; }
        /// <summary>
        /// 回复描述
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 最后操作人的时间
        /// </summary>
        public DateTime? ActiveTime { get; set; }
        /// <summary>
        /// 最后操作人
        /// </summary>
        public string Activer { get; set; }
        public string ActiverAlias { get; set; }

    }
    public  partial class TaskLog : UMC.Data.Record
    {
        public ulong? Id
        {
            get;
            set;
        }
        public ulong? InstanceId
        {
            get;
            set;
        }
        public ulong? TaskId
        {
            get;
            set;
        }
        public string Content
        {
            get;
            set;
        }
        public DateTime? CreateTime
        {
            get;
            set;
        }
        public DateTime? ActivationTime
        {
            get;
            set;
        }
        public string ShapeUsername
        {
            get;
            set;
        }
        public string ShapeAlias
        {
            get;
            set;
        } 
        public string Username
        {
            get;
            set;
        }
        public String Explain
        {
            get;
            set;
        }
        public string ShapeId
        {
            get;
            set;
        }
        public CommandType? CommandType { get; set; }
        public string ShapeText { get; set; }
        public string Alias { get; set; }
    }

}
